# coding : utf-8
import tkinter
from tkinter import ttk
from tkinter import messagebox

appendix_command_dict = {'设定附属物属性': [''], '选择附属物对应车道参考线': ['']}


class PopupWidget():
    def __init__(self, master):
        frame0 = tkinter.Menu(master)
        for key in appendix_command_dict.keys():
            frame0.add_command(label=key, command=self.commandHandle)
        pass

    def commandHandle(self):
        print('a command')
